import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class DemoData {
    //设置excel表头名称
    @ExcelProperty(value = "日期",index = 0)
    private String date;
    @ExcelProperty(value = "商品",index = 1)
    private String goods;
    @ExcelProperty(value = "销量",index = 2)
    private String sales;
}